package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.GroupSendTaskDevice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupSendTaskDeviceMapper {
    int deleteById(@Param("id") Long id);

    int insert(GroupSendTaskDevice record);

    int insertSelective(GroupSendTaskDevice record);

    GroupSendTaskDevice selectById(@Param("id") Long id);

    List<GroupSendTaskDevice> selectListByTaskId(@Param("taskId") Long taskId, @Param("merId") Long merId);

    int updateByIdSelective(GroupSendTaskDevice record);

    int updateById(GroupSendTaskDevice record);
}